<?php
class SQLQueryExecutionException extends Exception {
	protected $strHostName="";
	protected $intErrorId=0;
	protected $strQuery="";
	
	public function __construct($strHostName, $strErrorMessage, $intErrorId, $strQuery) {
		$this->strHostName = $strHostName;
		$this->message = $strErrorMessage;
		$this->intErrorId = $intErrorId; 
		$this->strQuery = $strQuery;
	}
	
	public function getHostName() {
		return $this->strHostName;
	}
	
	public function getErrorId() {
		return $this->intErrorId;
	}
	
	public function getQuery() {
		return $this->strQuery;
	}
}